package edu.zcmu.seckill.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: tang
 * @Date: 2022/02/17/15:47
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MyException extends RuntimeException{
    private Integer code;//状态码

    private String msg;//错误消息
}
